﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MaintRecordStatistics.aspx.cs"
    Inherits="MaintRecordStatistics" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />

    <script src="js/date.js" type="text/javascript" language="javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="842" border="0" cellpadding="0" cellspacing="0" align="center">
            <tr style="color: blue; font-size: 14px;">
                <td style="height: 14px">
                    <img src="images/list.gif" width="16px" height="16px" />维护记录管理--&gt;维护记录统计
                </td>
            </tr>
            <tr>
                <td style="height: 18px">
                    工程师：<asp:DropDownList ID="ddlPrincipal" runat="server" Width="120px">
                    </asp:DropDownList>
                    巡检时间：<asp:TextBox ID="txtDate1" runat="server" MaxLength="20" Width="60px" onfocus="javascript:HS_setDate(this,'btnSelect');"></asp:TextBox>-
                    <asp:TextBox ID="txtDate2" runat="server" MaxLength="20" Width="60px" onfocus="javascript:HS_setDate(this,'btnSelect');"></asp:TextBox>
                    故障类别:<asp:DropDownList ID="ddlErrType" runat="server">
                    </asp:DropDownList>
                    <asp:Button ID="btnSelect" runat="server" Style="display: none" />
                    <asp:Button ID="Btn_Query" runat="server" OnClick="Btn_Query_Click" Text="统计" />
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px"
                        CellPadding="3" CellSpacing="2" OnRowDataBound="GridView1_RowDataBound" Width="842px"
                        OnPageIndexChanging="GridView1_PageIndexChanging" PageSize="14">
                        <FooterStyle BackColor="#6A5ACD" />
                        <RowStyle BackColor="#D6DFF7" ForeColor="#8C4510" />
                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                        <PagerStyle ForeColor="#FFFFFF" HorizontalAlign="Center" BackColor="#6A5ACD" />
                        <HeaderStyle BackColor="#799AE1" Font-Bold="True" />
                        <Columns>
                            <asp:BoundField DataField="Principal" HeaderText="工程师" SortExpression="Principal" />
                            <asp:BoundField DataField="Count" HeaderText="维护量" SortExpression="Count" />
                            <asp:BoundField DataField="errTypeName" HeaderText="故障类别" SortExpression="errTypeName" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
